package com.example.shiro_demo.ctrl;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @Author: wuzs
 * @Date: 2019/10/14 14:01
 */
@RequestMapping("/user")
@Controller
public class UserController {
    @ResponseBody
    @RequestMapping("/show")
    public String showUser() {
        return "这是用户展示";
    }
    @ResponseBody
    @RequestMapping("/list")
    public String listUser() {
        return "这是用户列表";
    }
}